# -*- coding: UTF-8 -*-
from server.model import Base
from sqlalchemy import Column, String, Boolean


class ExaSimpleUploaders(Base):
    __tablename__ = 'exa_simple_uploaders'
    chunk_number = Column(String(191),    doc='当前切片标记')
    current_chunk_size = Column(String(191),    doc='当前切片容量')
    current_chunk_path = Column(String(191),    doc='切片本地路径')
    total_size = Column(String(191),    doc='总容量')
    identifier = Column(String(191),    doc='文件标识（md5）')
    filename = Column(String(191),    doc='文件名')
    total_chunks = Column(String(191),    doc='切片总数')
    is_done = Column(Boolean,    doc='是否上传完成')
    file_path = Column(String(191),    doc='文件本地路径')